package com.ssy.lingxi.contract.model.vo.applyamount.request;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * 保存请款单请求接口VO
 * @author 伍将
 * @date 2021/3/11
 * @version 2.0.0
 */
public class ApplyAmountOrderSaveVO implements Serializable {
    private static final long serialVersionUID = -877142459462032889L;

    /**
     * 基础信息
     */
    @NotNull(message = "基础信息不能为空")
    @Valid
    private ApplyAmountOrderSaveBasicsVO basics;

    /**
     * 请款明细
     */
    @Valid
    private List<ApplyAmountOrderSaveDetailVO> detailList;

    public ApplyAmountOrderSaveBasicsVO getBasics() {
        return basics;
    }

    public void setBasics(ApplyAmountOrderSaveBasicsVO basics) {
        this.basics = basics;
    }

    public List<ApplyAmountOrderSaveDetailVO> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<ApplyAmountOrderSaveDetailVO> detailList) {
        this.detailList = detailList;
    }
}
